net/http.Protocols.bits (field)
6 uses
net/http (current package)
http.go#L31: bits uint8
http.go#L41: func (p Protocols) HTTP1() bool { return p.bits&protoHTTP1 != 0 }
http.go#L47: func (p Protocols) HTTP2() bool { return p.bits&protoHTTP2 != 0 }
http.go#L53: func (p Protocols) UnencryptedHTTP2() bool { return p.bits&protoUnencryptedHTTP2 != 0 }
http.go#L60: p.bits |= bit
http.go#L62: p.bits &^= bit
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)